package se.webbzon.boltzmann.game.object.dialogue.word;

import java.awt.Dimension;

import se.webbzon.boltzmann.game.object.dialogue.AbstractDialogue;
import se.webbzon.oschi01.worldobject.appearance.NoAppearance3D;

public class NewLineDialogueWord extends AbstractDialogueWord {

	/*============================================================
	Constructors
	============================================================*/
	
	/** Creates a newline dialogue word. **/
	public NewLineDialogueWord() {
		super(null,new NoAppearance3D());
	}
	
	/*============================================================
	Public Methods
	============================================================*/
	
	@Override public void getDimension(Dimension d) {};
	
	@Override public boolean isNewLine() {
		return true;
	}

	@Override public String getWord() {
		return "\n";
	}
	
	@Override public void onShowCharacter(AbstractDialogue dialogue, int character) {};

	@Override public void onShowAllCharacters(AbstractDialogue dialogue) {}

	@Override public void onUpdateWord(AbstractDialogue dialogue) {};

}
